package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._21中介者模式._2联合国安理会;

class USA extends Country {
    public USA(UnitedNations unitedNations) {
        super(unitedNations);
    }

    public void declare(String message) {
        this.unitedNations.declare(message, this);
    }

    public void getMessage(String message) {
        System.out.println("美国获得对方信息:" + message);
    }
}